package Factory.Framework;

public abstract class NetworkConnectionFactory {
    public final NetworkConnection create(String id) {
        NetworkConnection p = createNetwork(id);
        registerNetwork(p);
        return p;
    }
    public abstract NetworkConnection createNetwork(String Id);
    public abstract void registerNetwork(NetworkConnection nwc);
}
